package org.example.designPattern.creation.factory.v2;

import org.example.designPattern.creation.factory.Piz;
import org.example.designPattern.creation.factory.Pizza1;
import org.example.designPattern.creation.factory.SimpleFactory;

public class SimpleFactoryA extends SimpleFactory {
    @Override
    public Piz createPizza(String type) {
        return new Pizza1();
    }
}
